Ext.define("MyApp.model.Settings", {

	extend: "Ext.data.Model",
	
	config: {
	
		idProperty: "settings",
		identifier: 'uuid',
		
		fields: [
			{ name: "name", type: "string" },
			{ name: "userId", type: "integer" },
			{ name: "eventtitle", type: "string" },
			{ name: "applength", type: "string" },
			{ name: "sendcalendar", type: "string"},
			{ name: "sendmap", type: "string"},
			{ name: "mapaddress", type: "string"},
			{ name: "sendreminder", type: "string"},
			{ name: "remindertime", type: "string"},
			{ name: "confirmationmessage", type: "string"},
			{ name: "remindermessage", type: "string"},
			{ name: "email", type: "string"},
			{ name: "calendar", type: "string"}
			],

			proxy: {
            type: 'localstorage',
            id  : 'settingslocal'
        }

	
	
	}
});
	